package com.example.message.core;

import java.util.List;

public interface MessageService {
	
	void setDefaultLanguage(String language);
	
	void saveMessage(Message message);
	
	Message getMessage(String code, String language);

	Message getMessage(String code, String language, double version);

	List<Message> getMessages(String code);

	List<Message> getMessages(String code, double version);

	List<Message> filterMessages(MessageSearchParameter parameter);
}
